import { defineStore } from "pinia";

export const user = defineStore({
    id: 'user',
    state: () => {
        return {
            name: '张三999' as String
        }
    },
    actions: {
        changeUer(data: String) {
            console.log(this);

            this.name = data
        }
    }
})
// export default user